package entities;

public class TgoodsEntity {
	
	private int tgId,tgClaId,tgSeId,tgSaCla,tgSaCou,tgPeoCou,tgOldPrice;
	private String tgName,tgImage,tgKeyWo,tgNutri,tgDesc;
	private Double tgPrice,tgDis,tgRank;
	private String tgSaTim,tgDeadline,sellerName,sellerAddr,sellerTel,className;

	
	public TgoodsEntity(){}

	public TgoodsEntity(int tgId, int tgClaId, int tgSeId, int tgSaCla,
			int tgSaCou, int tgPeoCou, String tgName, String tgImage,
			String tgKeyWo, String tgNutri, String tgDesc, Double tgPrice,
			Double tgDis, Double tgRank, String tgSaTim, String tgDeadline, String sellerName,String sellerAddr,String sellerTel,int tgOldPrice) {
		super();
		this.tgId = tgId;
		this.tgClaId = tgClaId;
		this.tgSeId = tgSeId;
		this.tgSaCla = tgSaCla;
		this.tgSaCou = tgSaCou;
		this.tgPeoCou = tgPeoCou;
		this.tgName = tgName;
		this.tgImage = tgImage;
		this.tgKeyWo = tgKeyWo;
		this.tgNutri = tgNutri;
		this.tgDesc = tgDesc;
		this.tgPrice = tgPrice;
		this.tgDis = tgDis;
		this.tgRank = tgRank;
		this.tgSaTim = tgSaTim;
		this.tgDeadline = tgDeadline;
		this.sellerName = sellerName;
		this.sellerAddr = sellerAddr;
		this.sellerTel = sellerTel;
		this.tgOldPrice = tgOldPrice;
	}

	public int getTgId() {
		return tgId;
	}

	public void setTgId(int tgId) {
		this.tgId = tgId;
	}

	public int getTgClaId() {
		return tgClaId;
	}

	public void setTgClaId(int tgClaId) {
		this.tgClaId = tgClaId;
	}

	public int getTgSeId() {
		return tgSeId;
	}

	public void setTgSeId(int tgSeId) {
		this.tgSeId = tgSeId;
	}

	public int getTgSaCla() {
		return tgSaCla;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public void setTgSaCla(int tgSaCla) {
		this.tgSaCla = tgSaCla;
	}

	public int getTgSaCou() {
		return tgSaCou;
	}

	public void setTgSaCou(int tgSaCou) {
		this.tgSaCou = tgSaCou;
	}

	public int getTgPeoCou() {
		return tgPeoCou;
	}

	public void setTgPeoCou(int tgPeoCou) {
		this.tgPeoCou = tgPeoCou;
	}

	public String getTgName() {
		return tgName;
	}

	public void setTgName(String tgName) {
		this.tgName = tgName;
	}

	public String getTgImage() {
		return tgImage;
	}

	public void setTgImage(String tgImage) {
		this.tgImage = tgImage;
	}

	public String getTgKeyWo() {
		return tgKeyWo;
	}

	public void setTgKeyWo(String tgKeyWo) {
		this.tgKeyWo = tgKeyWo;
	}

	public String getTgNutri() {
		return tgNutri;
	}

	public void setTgNutri(String tgNutri) {
		this.tgNutri = tgNutri;
	}

	public String getTgDesc() {
		return tgDesc;
	}

	public void setTgDesc(String tgDesc) {
		this.tgDesc = tgDesc;
	}

	public Double getTgPrice() {
		return tgPrice;
	}

	public void setTgPrice(Double tgPrice) {
		this.tgPrice = tgPrice;
	}

	public Double getTgDis() {
		return tgDis;
	}

	public void setTgDis(Double tgDis) {
		this.tgDis = tgDis;
	}

	public Double getTgRank() {
		return tgRank;
	}

	public void setTgRank(Double tgRank) {
		this.tgRank = tgRank;
	}

	public String getTgSaTim() {
		return tgSaTim;
	}

	public void setTgSaTim(String tgSaTim) {
		this.tgSaTim = tgSaTim;
	}

	public String getTgDeadline() {
		return tgDeadline;
	}

	public void setTgDeadline(String tgDeadline) {
		this.tgDeadline = tgDeadline;
	}
	
	
	
	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}
	
	
	public String getSellerAddr() {
		return sellerAddr;
	}

	public void setSellerAddr(String sellerAddr) {
		this.sellerAddr = sellerAddr;
	}

	
	public String getSellerTel() {
		return sellerTel;
	}

	public void setSellerTel(String sellerTel) {
		this.sellerTel = sellerTel;
	}
	

	public int getTgOldPrice() {
		return tgOldPrice;
	}

	public void setTgOldPrice(int tgOldPrice) {
		this.tgOldPrice = tgOldPrice;
	}

	@Override
	public String toString() {
		return "TgoodsEntity [tgId=" + tgId + ", tgClaId=" + tgClaId
				+ ", tgSeId=" + tgSeId + ", tgSaCla=" + tgSaCla + ", tgSaCou="
				+ tgSaCou + ", tgPeoCou=" + tgPeoCou + ", tgName=" + tgName
				+ ", tgImage=" + tgImage + ", tgKeyWo=" + tgKeyWo
				+ ", tgNutri=" + tgNutri + ", tgDesc=" + tgDesc + ", tgPrice="
				+ tgPrice + ", tgDis=" + tgDis + ", tgRank=" + tgRank
				+ ", tgSaTim=" + tgSaTim + ", tgDeadline=" + tgDeadline + ", tgSellerName=" + sellerName + ", tgSellerTel=" + sellerTel + ", tgSellerAddr=" + sellerAddr + "]";
	}

	
}
